<template>
  <div class="myMall">
    <div class="myMall-header">
      <div class="selectCont">
        <i class="iconfont icon-kefu orderIcon relService"></i>
        <img class="searchIcon" src="../../assets/tubiao/search.png" />
        <router-link to="searchForGoods"><input class="searchMall" type="text" placeholder="保暖内衣" readonly></router-link>
        <i class="iconfont icon-cart_icon shoppingCart"></i>
      </div>
      <div class="checkedBtn">
        <van-tabs v-model="active" color="#2864d9">
          <van-tab title="推荐">
            <page-recommend></page-recommend>
          </van-tab>
          <van-tab title="美妆护肤">

          </van-tab>
          <van-tab title="超值百货">

          </van-tab>
          <van-tab title="名品腕表">

          </van-tab>
          <van-tab title="品质家电">

          </van-tab>
        </van-tabs>
      </div>
    </div>
    <page-recommend></page-recommend>
    <shopping-footer></shopping-footer>
  </div>
</template>

<script>
export default {
  name: 'myMall',
  data () {
    return {
      active: 0,
      navArr: ['推荐', '美妆护肤', '超值百货', '名品腕表', '品质家电'],
    }
  },
};
</script>

<style lang="scss" scoped>
  @import "../../assets/font_1001665_wneao7ah2ln/iconfont.css";
  *{
    margin: 0;
    padding: 0;
    user-select: none;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
  }
  .myMall{
    width: 100vw;
    background: #f3f3f3;
  }
  .myMall-header{
    width: 100vw;
    height: 104px;
    background: white;
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99999999;
  }
  .selectCont{
    height: 60px;
    width: 100vw;
    border-bottom: 1px solid #f3f3f3;
  }
  .relService{
    font-size: 34px;
    position: absolute;
    top: 10px;
    left: 23px;
  }
  .searchMall{
    position: absolute;
    top: 10px;
    left: 80px;
    width: 63vw;
    height: 45px;
    background: #f5f5f5;
    border-radius: 10px;
    border: none;
    padding-left: 50px;
    font-size: 20px;
  }
  .searchIcon{
    position: absolute;
    top: 16px;
    left: 90px;
    height: 30px;
    width: 30px;
    z-index: 999;
  }
  .shoppingCart{
    font-size: 34px;
    position: absolute;
    top: 12px;
    right: 23px;
  }
  .checkedBtn{
    height: 76px;
  }
</style>
